#!/bin/bash

cat >> $1 <<EOF
    expose:
      - "$2"
    ports:
      - "$2:$2"
    extra_hosts:
      - "dockerhost:172.20.0.1"
EOF
